package com.itsu.api.controllerApi;

import com.itsu.pojo.dto.RecommendationDTO;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

@RequestMapping("tanhua")
public interface TanhuaControllerApi {

    @GetMapping("todayBest")
    /**
     * 今日最佳人选
     */
    ResponseEntity todayBest();

    @GetMapping("recommendation")
    /**
     * 推荐好友
     */
    ResponseEntity recommendation(@RequestBody RecommendationDTO recommendationDTO);

    /**
     * 查看陌生人问题
     * @param userId
     * @return
     */
    @GetMapping("strangerQuestions")
    ResponseEntity queryQuestion(@RequestParam("userId") Integer userId);

    /**
     * 回复陌生人问题
     *
     * @return
     */
    @PostMapping("strangerQuestions")
    ResponseEntity replyQuestion(@RequestBody Map<String,String> map);


    @GetMapping("cards")
    ResponseEntity cards();

}
